<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{% block head %}
这是head
{% endblock %}
<br>
{% block content %}
这是content block
{% endblock %}
<br>
{% block foot %}
这是foot
{% endblock %}
</body>
</html>